export const buildInControl = {
  global: {
    name: "全局节点",
    event: {
      DOMCOntentLoaded: {
        name: "页面加载完成"
      },
      load: {
        name: "数据加载完成"
      }
    },
    action: {
      setCallbackID: {
        name: "设置回调ID"
      },
      setGlobalVariable: {
        name: "设置全局变量"
      },
      updateAllData: {
        name: "更新所有控件数据"
      }
    }
  },
  handler: {
    serial: {
      name: "串行数据处理",
      type: "serial"
    }
  },
  emitter: {
    keyboard: {
      name: "键盘事件",
      type: "keyboard",
      event: {
        down: {
          name: "键盘键按下"
        },
        up: {
          name: "键盘键抬起"
        }
      }
    },
    timer: {
      name: "定时器",
      type: "timer",
      action: {
        start: {
          name: "开始计时"
        },
        end: {
          name: "结束计时"
        }
      },
      event: {
        trigger: {
          name: "到计时点时"
        }
      }
    },
    condition: {
      name: "多路判断",
      type: "condition",
      action: {
        condition: {
          name: "判断条件"
        }
      },
      event: {
        true: {
          name: "正确"
        },
        false: {
          name: "错误"
        }
      }
    }
  }
}
